package net.csdn.business.common.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.constant.CommonConstants;

import java.io.Serializable;
import java.util.Date;


/**
* @Description: 给云效返回的issue信息的VO
* @Param:
* @return:
* @Author: zhangyl
* @Date: 2024/8/5
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class IssueDetailVO implements Serializable
{

    @JsonIgnore
    private Long id;

    /** issueID； */
    @JsonProperty("id")
    private String objectId;

    /** 仓库ID； */
    private Long projectId;

    /** serialNumber */
    private Integer serialNumber;

    /** 标题 */
    private String title;

    private String description;

    /** 内容 */
    private String content;

    /** mdContent */
    private String mdContent;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date createdDate;
}
